package com.dk.service;

import com.dk.pojo.Game;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GamesService {
    List<Game> getInfo();

    PageInfo<Game> show(Integer pageNumber, Integer pageSize);

    boolean addInfo(Game game);

    boolean deleteInfo(Integer id);

    Game toUpdatet(Integer id);

    boolean updateInfo(Game game);
}
